import { createRouter, createWebHashHistory } from 'vue-router'
import createPersistedstate from 'vuex-persistedstate'

const routes = []

const router = createRouter({
  history: createWebHashHistory(),
  routes,
  plugins: [
    createPersistedstate({
      key: 'erabbit-client-pc-store',
      paths: ['user', 'cart']
    })
  ]
})

export default router
